package com.yztc.xiami_app.bean.user;

import java.io.Serializable;

import cn.bmob.v3.BmobUser;
import cn.bmob.v3.datatype.BmobFile;

/**
 * Created by 周旭 on 2016/12/2.
 * "用户信息"的数据结构
 */

public class MyUser extends BmobUser implements Serializable{

    private Integer age; //年龄
    private Integer gender; //性别
    private String nickName; //昵称
    private BmobFile headerPic; //用户头像
    private String headerPicUrl; //用户头像在Bmob上保存的地址


    public MyUser(){}

    public MyUser(Integer age, Integer gender, String nickName, BmobFile headerPic) {
        this.age = age;
        this.gender = gender;
        this.nickName = nickName;
        this.headerPic = headerPic;
    }

    public MyUser(String headerPicUrl) {
        this.headerPicUrl = headerPicUrl;
    }

    public MyUser(BmobFile headerPic) {
        this.headerPic = headerPic;
    }

    public Integer getAge() {
        return age;
    }

    public String getHeaderPicUrl() {
        return headerPicUrl;
    }

    public void setHeaderPicUrl(String headerPicUrl) {
        this.headerPicUrl = headerPicUrl;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public BmobFile getHeaderPic() {
        return headerPic;
    }

    public void setHeaderPic(BmobFile headerPic) {
        this.headerPic = headerPic;
    }
}
